Gradient pupils